﻿namespace OpenCompiler.Scanning.Scanners
{
	public class OperatorScanner : StringMatchTokenScanner	
	{
		public OperatorScanner()
		{
			this.AddGrammar(Operator.And, "&&");
			this.AddGrammar(Operator.Or, "||");
			this.AddGrammar(Operator.Not, "!");
			this.AddGrammar(Operator.Xor, "^");
			this.AddGrammar(Operator.BitwizeComplement, "~");
			this.AddGrammar(Operator.Modulo, "%");

			this.Initialize();
		}
	}
}
